package com.my;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * @description:
 * @author: marshal
 * @date: 2021-08-19 9:32 AM
 */
public class DateString {
    public static void main(String[] args) {
        var date = new Date();
        var sdformat = new SimpleDateFormat("yyyyMMddhhmmssSSS");
        System.out.println(sdformat.format(date));
    }
}